import {
    http4
} from "@/service/axios";

// 已完成订单列表
export function getCompletedOrders(data) {
    return http4.post({
        url: "/road/order/finished/list/page",
        data,
    });
}

// 已完成导出
export function getExportCompleted(data) {
    return http4.post({
        url: "/road/order/finished/export",
        data,
        responseType: "blob",
    });
}

// 已完成订单详情
export function getCompletedOrdersDetails(data) {
    return http4.get({
        url: `/road/order/finished/detail/${data}`,
        data,
    });
}